package com.wan.usercenter.mapper;

import com.wan.usercenter.pojo.BasicRole;
import com.wan.usercenter.pojo.BasicRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicRoleMapper {
    long countByExample(BasicRoleExample example);

    int deleteByExample(BasicRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicRole record);

    int insertSelective(BasicRole record);

    List<BasicRole> selectByExample(BasicRoleExample example);

    BasicRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicRole record, @Param("example") BasicRoleExample example);

    int updateByExample(@Param("record") BasicRole record, @Param("example") BasicRoleExample example);

    int updateByPrimaryKeySelective(BasicRole record);

    int updateByPrimaryKey(BasicRole record);
}